<template>
    <div class="circle" v-show="circleFlag">
        <div class="circleText">
            <input type="text" placeholder="搜索圈子">
        </div>
    </div>
</template>

<script>
    export default {
        props: ['circleFlag']
    }
</script>

<style type="text/scss" lang="scss" scoped>
    .circle {
        width: 100%;
        height: 80px;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;

        .circleText {
            width: 93%;
            padding: 12px 2px;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: inset 0 0 2px 0 #bfbfbf;

            input {
                width: 85%;
                height: 100%;
                border: none;
                outline: none;
                text-indent: 10px;
                font-size: 14px;
                color: #404040;
            }
        }
    }
</style>